<script src="/assets/js/jquery.bootbox.min.js"></script>
<script src="/b/<%=branch%>/proxy/config?key=item,unit,chip,egg,box,itemGroup,unitBase,gem,MsgList,"></script>
<script src="/assets/item.js"></script>
<script>


    var NewsColModel = [
        {label: '附件', name: 'item',width: 220, editable: true, sortable:false,hidden:false,resize:true,fixed:true,search:false,
            formatter:cosjs.item.formatter,
            unformat:cosjs.item.unformat,
            editoptions: { dataInit: function (element) { new cosjs.item.select(element); } }
        },

        {label: '内容', name: 'content',width: 200, editable: true, sortable:false,hidden:false,resize:true,fixed:false,search:false,
            editrules: { edithidden: true },
            edittype:'textarea',editoptions:{rows:"8",cols:"70"},
        },
    ];


    function beforeCreate(){
        setColModel("name","label","标题")
    }
</script>

